//
//  Fraction.h
//  02-ClassAndCode
//
//  Created by dllo on 16/7/5.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Fraction : NSObject
@property NSInteger _numerator, _denominator, _res;
//{
//    NSInteger _numerator;
//    NSInteger _denominator;
//}
- (instancetype) initWithNumerator:(NSInteger)numerator denominator:(NSInteger)denominator;
- (id)plus:(Fraction *)frac1 frac2:(Fraction*)frac2;

- (id)min:(Fraction *)frac1 frac2:(Fraction*)frac2;

- (id)multiple:(Fraction *)frac1 frac2:(Fraction*)frac2;

- (id)div:(Fraction *)frac1 frac2:(Fraction*)frac2;

@end
